/**
 * 
 */
package com.activityes.primeirapagina;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

import com.main.primeirapagina.R;

/**
 * 
 * @author Hydrus Technology.
 *
 */
public class PedidoActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pedido);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_dashboard, menu);
		return true;
	}

	@Override
	public boolean onMenuItemSelected(int featureId, MenuItem item) {
		switch (item.getItemId()) {
		case R.id.menu_cardapio:
			startActivity(new Intent(this, CardapioActivity.class));
			return true;
		case R.id.menu_pedidos:
			return false;
		case R.id.menu_historico:
			return false;
		case R.id.menu_top:
			return false;
		default:
			return super.onMenuItemSelected(featureId, item);
		}
	}

}
